<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"/>
	<title>新增</title>
	<meta name="renderer" content="webkit" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="format-detection" content="telephone=no"/>
	<link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all" />
	<link rel="stylesheet" th:href="@{/css/user.css}" media="all" />
	<link rel="stylesheet" type="text/css" th:href="@{/js/plugins/TUpload/css/upload.css}" />
</head>
<body class="childrenBody">
<form class="layui-form" id="versionAddForm">
    <div class="layui-form-item" style="display:none">
        <label class="layui-form-label">vId</label>
        <div class="layui-input-block">
            <input type="text" th:value="${version.vId}" name="vId"  class="layui-input" />
        </div>
    </div>

    <div class="layui-form-item" style="display:none">
        <label class="layui-form-label">id</label>
        <div class="layui-input-block">
            <input type="text" th:value="${version.id}" name="id"  class="layui-input" />
        </div>
    </div>

    <div class="layui-form-item" >
        <label class="layui-form-label">title</label>
        <div class="layui-input-block">
            <input type="text" th:value="${version.title}" name="title"  class="layui-input" />
        </div>
    </div>

    <div class="layui-form-item" >
        <label class="layui-form-label">content</label>
        <div class="layui-input-block">
            <input type="text" th:value="${version.content}" name="content"  class="layui-input" />
        </div>
    </div>

    <div class="layui-form-item" style="display:none">
        <label class="layui-form-label">createId</label>
        <div class="layui-input-block">
            <input type="text" th:value="${version.createId}" name="createId"  class="layui-input"  />
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">createTime</label>
        <div class="layui-input-block">
            <input type="text" value="" name="createTime" placeholder="请输入日期" lay-verify="required" onclick="layui.laydate({elem: this,max: laydate.now(),format: 'YYYY-MM-DD hh:mm:ss'})" class="layui-input userBirthday"/>
        </div>
    </div>
    <div class="layui-form-item" style="display:none">
        <label class="layui-form-label">updateId</label>
        <div class="layui-input-block">
            <input type="text" th:value="${version.updateId}" name="updateId"  class="layui-input"   />
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">updateTime</label>
        <div class="layui-input-block">
            <input type="text" value="" name="updateTime" placeholder="请输入日期" lay-verify="required" onclick="layui.laydate({elem: this,max: laydate.now(), format: 'YYYY-MM-DD hh:mm:ss'})" class="layui-input userBirthday"/>
        </div>
    </div>

	<div class="layui-form-item" style="margin-left: 5%;">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="submitVersion" lay-filter="submitVersion">立即提交</button>
			<button class="layui-btn layui-btn-primary" id="resetBtn">重置</button>
		</div>
	</div>
</form>
<script type="text/javascript" th:src="@{/js/plugins/FroalaEditor/js/jquery-1.9.1.min.js}"></script>
<script type="text/javascript" th:src="@{/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/js/common/address.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/TUpload/js/T_upload.js}"></script>
<script type="text/javascript" th:src="@{/js/version/versionAdd.js(version=1.0.2)}"></script>
</body>
</html>